package com.bingquan.company.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WorkFlowFeignServer {

    @PostMapping(value = "/api/workflow/start")
    public Object start( @RequestHeader("token") String token,@RequestBody WorkFlowRequestParam param) {
//        System.out.println("==token" + token);
        System.out.println("feign call success");
        return null;
    }
}

